/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* 导航栏样式 */
.navbar {
    background-color: #4CAF50;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.navbar .logo {
    color: white;
    font-size: 24px;
    display: inline-block;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-links li {
    display: inline-block;
    margin: 0 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
}

/* 小导航栏样式 */
.sub-navbar {
    background-color: #f0f0f0;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sub-navbar a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
}

.sub-navbar a.active {
    color: #4CAF50;
    font-weight: bold;
}

/* 项目介绍页样式 */
.project-section {
    margin: 20px auto;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    max-width: 800px;
}

.project-carousel .carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.carousel img {
    width: 100%;
    display: none;
    border-radius: 8px;
}

.carousel img.active {
    display: block;
}

/* 轮播指示器 */
.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #4CAF50;
}

/* 团队成员列表样式 */
.team-list {
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.member-card {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

/* 影像页样式 */
.video-container {
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center; /* 视频居中 */
}

/* 移除视频和图片轮播的箭头 */
.video-container video::-webkit-media-controls-previous-button,
.video-container video::-webkit-media-controls-next-button,
.carousel .prev,
.carousel .next {
    display: none;
}